import { Column, CreateDateColumn, UpdateDateColumn } from 'typeorm'

export abstract class BaseEntity implements IBaseEntity {
  @Column()
  createBy: string

  @CreateDateColumn()
  createTime: Date

  @Column()
  updateBy: string

  @UpdateDateColumn()
  updateTime: Date
}
